package com.byl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * extends SpringBootServletInitializer
     @Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(BylFastApp.class);
}
 */
@SpringBootApplication
@MapperScan(value={"com.byl.modules.*.dao","com.byl.modules.*.*.dao"})
public class BylHszhApp {
    public static void main(String[] args) {
        SpringApplication.run(BylHszhApp.class, args);
        System.out.println("ヾ(◍°∇°◍)ﾉﾞ    必有邻启动成功      ヾ(◍°∇°◍)ﾉﾞ\n");
    }
    /*@Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(BylHszhApp.class);
    }*/
}
